if status is-interactive
    # Commands to run in interactive sessions can go here
end

set -gx PATH $PATH /usr/local/go/bin
set -gx PATH $PATH ~/.local/bin/nvim/bin
set -gx EDITOR nvim
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct
alias vim nvim
alias vi nvim
